EC2(Windows Server) のネットワークインターフェースのドライバーを確認する方法
困っていること
EC2(Windows Server) が使用しているネットワークドライバーのバージョンを確認する方法を教えてください。
どう解決すればいいの?
使用しているネットワークドライバーとバージョンは下記の手順で確認ができます。
- 設定を開く
- Network & Internet を開く
- Ethernet を開く
- Connected となっている Network Interface を開く
- Description と Driver Version を確認する
また、下記の手順でも確認ができます。
- PowerShell から
pnputil -e
コマンドを実行 - 出力された結果から、Class が Network adapters となっているものを抽出し、Driver package provider と Driver date and version から推察し、Published name のファイルを
%windir%\INF
から開いて確認する
やってみた
Nitro インスタンスタイプの場合
t3.large インスタンスタイプで Windows Server 2022 の AMI(ami-0a7704dfcc8c70a27)からインスタンスを作成します。
PowerShell にて、インスタンスメタデータからNitro
であることを確認します。
PS > $token = Invoke-RestMethod 'http://169.254.169.254/latest/api/token' -Method Put -Headers @{ "X-aws-ec2-metadata-token-ttl-seconds" = 21600 } PS > Invoke-RestMethod 'http://169.254.169.254/latest/meta-data/system' -Headers @{ "X-aws-ec2-metadata-token" = $token } nitro
Windows の設定では ENA ドライバーを使用していることが確認できました。
Link speed (Receive/Transmit): 25/25 (Gbps) Link-local IPv6 address: **マスクしています** IPv4 address: **マスクしています** IPv4 DNS servers: 172.31.0.2 (Unencrypted) Primary DNS suffix: ap-northeast-1.compute.internal Manufacturer: Amazon Web Services, Inc. Description: Amazon Elastic Network Adapter Driver version: 2.6.0.0 Physical address (MAC): **マスクしています**
PowerShell からpnputil -e
コマンドを実行します。
PS > pnputil -e Microsoft PnP Utility Published name : oem8.inf Driver package provider : INTEL Class : System devices Driver date and version : 07/18/1968 10.1.17.1 Signer name : Microsoft Windows Hardware Compatibility Publisher Published name : oem9.inf Driver package provider : INTEL Class : System devices Driver date and version : 07/18/1968 10.1.3.1 Signer name : Microsoft Windows Hardware Compatibility Publisher Published name : oem14.inf Driver package provider : INTEL Class : Universal Serial Bus controllers Driver date and version : 07/18/1968 10.1.3.1 Signer name : Microsoft Windows Hardware Compatibility Publisher Published name : oem3.inf Driver package provider : Amazon Inc. Class : Storage controllers Driver date and version : 07/12/2023 1.5.0.33 Signer name : Microsoft Windows Hardware Compatibility Publisher Published name : oem15.inf Driver package provider : INTEL Class : System devices Driver date and version : 07/18/1968 10.1.3.1 Signer name : Microsoft Windows Hardware Compatibility Publisher Published name : oem16.inf Driver package provider : INTEL Class : System devices Driver date and version : 07/18/1968 10.1.3.1 Signer name : Microsoft Windows Hardware Compatibility Publisher Published name : oem6.inf Driver package provider : INTEL Class : System devices Driver date and version : 07/18/1968 10.1.3.1 Signer name : Microsoft Windows Hardware Compatibility Publisher Published name : oem17.inf Driver package provider : INTEL Class : System devices Driver date and version : 07/18/1968 10.1.3.1 Signer name : Microsoft Windows Hardware Compatibility Publisher Published name : oem18.inf Driver package provider : INTEL Class : SD host adapters Driver date and version : 07/18/1968 10.1.16.6 Signer name : Microsoft Windows Hardware Compatibility Publisher Published name : oem19.inf Driver package provider : INTEL Class : System devices Driver date and version : 07/18/1968 10.1.16.6 Signer name : Microsoft Windows Hardware Compatibility Publisher Published name : oem20.inf Driver package provider : INTEL Class : System devices Driver date and version : 07/18/1968 10.1.16.6 Signer name : Microsoft Windows Hardware Compatibility Publisher Published name : oem21.inf Driver package provider : INTEL Class : System devices Driver date and version : 07/18/1968 10.1.16.6 Signer name : Microsoft Windows Hardware Compatibility Publisher Published name : oem22.inf Driver package provider : INTEL Class : System devices Driver date and version : 07/18/1968 10.1.16.6 Signer name : Microsoft Windows Hardware Compatibility Publisher Published name : oem23.inf Driver package provider : INTEL Class : SD host adapters Driver date and version : 07/18/1968 10.1.15.5 Signer name : Microsoft Windows Hardware Compatibility Publisher Published name : oem24.inf Driver package provider : INTEL Class : System devices Driver date and version : 07/18/1968 10.1.15.5 Signer name : Microsoft Windows Hardware Compatibility Publisher Published name : oem25.inf Driver package provider : INTEL Class : System devices Driver date and version : 07/18/1968 10.1.15.5 Signer name : Microsoft Windows Hardware Compatibility Publisher Published name : oem26.inf Driver package provider : INTEL Class : System devices Driver date and version : 07/18/1968 10.1.15.5 Signer name : Microsoft Windows Hardware Compatibility Publisher Published name : oem27.inf Driver package provider : INTEL Class : System devices Driver date and version : 07/18/1968 10.1.15.5 Signer name : Microsoft Windows Hardware Compatibility Publisher Published name : oem28.inf Driver package provider : INTEL Class : System devices Driver date and version : 07/18/1968 10.1.14.5 Signer name : Microsoft Windows Hardware Compatibility Publisher Published name : oem29.inf Driver package provider : INTEL Class : System devices Driver date and version : 07/18/1968 10.1.3.1 Signer name : Microsoft Windows Hardware Compatibility Publisher Published name : oem30.inf Driver package provider : INTEL Class : System devices Driver date and version : 07/18/1968 10.1.3.1 Signer name : Microsoft Windows Hardware Compatibility Publisher Published name : oem31.inf Driver package provider : INTEL Class : System devices Driver date and version : 07/18/1968 10.1.3.1 Signer name : Microsoft Windows Hardware Compatibility Publisher Published name : oem32.inf Driver package provider : INTEL Class : Universal Serial Bus controllers Driver date and version : 07/18/1968 10.1.3.1 Signer name : Microsoft Windows Hardware Compatibility Publisher Published name : oem33.inf Driver package provider : INTEL Class : System devices Driver date and version : 07/18/1968 10.1.3.1 Signer name : Microsoft Windows Hardware Compatibility Publisher Published name : oem34.inf Driver package provider : INTEL Class : Ports (COM & LPT) Driver date and version : 07/18/1968 10.1.19.1 Signer name : Microsoft Windows Hardware Compatibility Publisher Published name : oem35.inf Driver package provider : INTEL Class : System devices Driver date and version : 07/18/1968 10.1.19.1 Signer name : Microsoft Windows Hardware Compatibility Publisher Published name : oem5.inf Driver package provider : Amazon Web Services, Inc. Class : System devices Driver date and version : 08/24/2018 2.0.0.37 Signer name : Microsoft Windows Hardware Compatibility Publisher Published name : oem36.inf Driver package provider : INTEL Class : System devices Driver date and version : 07/18/1968 10.1.13.3 Signer name : Microsoft Windows Hardware Compatibility Publisher Published name : oem37.inf Driver package provider : INTEL Class : System devices Driver date and version : 07/18/1968 10.1.13.3 Signer name : Microsoft Windows Hardware Compatibility Publisher Published name : oem38.inf Driver package provider : INTEL Class : System devices Driver date and version : 07/18/1968 10.1.13.3 Signer name : Microsoft Windows Hardware Compatibility Publisher Published name : oem39.inf Driver package provider : INTEL Class : System devices Driver date and version : 07/18/1968 10.1.13.3 Signer name : Microsoft Windows Hardware Compatibility Publisher Published name : oem40.inf Driver package provider : INTEL Class : System devices Driver date and version : 07/18/1968 10.1.3.1 Signer name : Microsoft Windows Hardware Compatibility Publisher Published name : oem41.inf Driver package provider : INTEL Class : System devices Driver date and version : 07/18/1968 10.1.3.1 Signer name : Microsoft Windows Hardware Compatibility Publisher Published name : oem83.inf Driver package provider : INTEL Class : System devices Driver date and version : 07/18/1968 10.1.26.10 Signer name : Microsoft Windows Hardware Compatibility Publisher Published name : oem42.inf Driver package provider : INTEL Class : System devices Driver date and version : 07/18/1968 10.1.3.1 Signer name : Microsoft Windows Hardware Compatibility Publisher Published name : oem43.inf Driver package provider : INTEL Class : System devices Driver date and version : 07/18/1968 10.1.3.1 Signer name : Microsoft Windows Hardware Compatibility Publisher Published name : oem44.inf Driver package provider : INTEL Class : System devices Driver date and version : 07/18/1968 10.1.3.1 Signer name : Microsoft Windows Hardware Compatibility Publisher Published name : oem45.inf Driver package provider : INTEL Class : System devices Driver date and version : 07/18/1968 10.1.11.4 Signer name : Microsoft Windows Hardware Compatibility Publisher Published name : oem46.inf Driver package provider : INTEL Class : System devices Driver date and version : 07/18/1968 10.1.11.4 Signer name : Microsoft Windows Hardware Compatibility Publisher Published name : oem47.inf Driver package provider : INTEL Class : System devices Driver date and version : 07/18/1968 10.1.11.4 Signer name : Microsoft Windows Hardware Compatibility Publisher Published name : oem48.inf Driver package provider : INTEL Class : System devices Driver date and version : 07/18/1968 10.1.11.4 Signer name : Microsoft Windows Hardware Compatibility Publisher Published name : oem49.inf Driver package provider : INTEL Class : System devices Driver date and version : 07/18/1968 10.1.10.3 Signer name : Microsoft Windows Hardware Compatibility Publisher Published name : oem50.inf Driver package provider : INTEL Class : System devices Driver date and version : 07/18/1968 10.1.10.3 Signer name : Microsoft Windows Hardware Compatibility Publisher Published name : oem51.inf Driver package provider : INTEL Class : System devices Driver date and version : 07/18/1968 10.1.3.1 Signer name : Microsoft Windows Hardware Compatibility Publisher Published name : oem52.inf Driver package provider : INTEL Class : System devices Driver date and version : 07/18/1968 10.1.9.2 Signer name : Microsoft Windows Hardware Compatibility Publisher Published name : oem53.inf Driver package provider : INTEL Class : System devices Driver date and version : 07/18/1968 10.1.3.1 Signer name : Microsoft Windows Hardware Compatibility Publisher Published name : oem55.inf Driver package provider : INTEL Class : System devices Driver date and version : 07/18/1968 10.1.3.1 Signer name : Microsoft Windows Hardware Compatibility Publisher Published name : oem56.inf Driver package provider : INTEL Class : System devices Driver date and version : 07/18/1968 10.1.3.1 Signer name : Microsoft Windows Hardware Compatibility Publisher Published name : oem57.inf Driver package provider : INTEL Class : System devices Driver date and version : 01/04/2013 0.0.0.1 Signer name : Microsoft Windows Hardware Compatibility Publisher Published name : oem7.inf Driver package provider : INTEL Class : System devices Driver date and version : 01/04/2013 0.0.0.1 Signer name : Microsoft Windows Hardware Compatibility Publisher Published name : oem58.inf Driver package provider : INTEL Class : System devices Driver date and version : 07/18/1968 10.1.3.1 Signer name : Microsoft Windows Hardware Compatibility Publisher Published name : oem59.inf Driver package provider : INTEL Class : System devices Driver date and version : 07/18/1968 10.1.3.1 Signer name : Microsoft Windows Hardware Compatibility Publisher Published name : oem60.inf Driver package provider : INTEL Class : Universal Serial Bus controllers Driver date and version : 07/18/1968 10.1.3.1 Signer name : Microsoft Windows Hardware Compatibility Publisher Published name : oem61.inf Driver package provider : INTEL Class : System devices Driver date and version : 07/18/1968 10.1.3.1 Signer name : Microsoft Windows Hardware Compatibility Publisher Published name : oem85.inf Driver package provider : INTEL Class : System devices Driver date and version : 07/18/1968 10.1.42.10 Signer name : Microsoft Windows Hardware Compatibility Publisher Published name : oem86.inf Driver package provider : INTEL Class : System devices Driver date and version : 07/18/1968 10.1.42.10 Signer name : Microsoft Windows Hardware Compatibility Publisher Published name : oem87.inf Driver package provider : INTEL Class : System devices Driver date and version : 07/18/1968 10.1.8.7 Signer name : Microsoft Windows Hardware Compatibility Publisher Published name : oem62.inf Driver package provider : INTEL Class : System devices Driver date and version : 07/18/1968 10.1.8.4 Signer name : Microsoft Windows Hardware Compatibility Publisher Published name : oem63.inf Driver package provider : INTEL Class : System devices Driver date and version : 07/18/1968 10.1.7.3 Signer name : Microsoft Windows Hardware Compatibility Publisher Published name : oem64.inf Driver package provider : INTEL Class : System devices Driver date and version : 07/18/1968 10.1.7.3 Signer name : Microsoft Windows Hardware Compatibility Publisher Published name : oem65.inf Driver package provider : INTEL Class : System devices Driver date and version : 07/18/1968 10.1.7.3 Signer name : Microsoft Windows Hardware Compatibility Publisher Published name : oem66.inf Driver package provider : INTEL Class : System devices Driver date and version : 07/18/1968 10.1.6.2 Signer name : Microsoft Windows Hardware Compatibility Publisher Published name : oem67.inf Driver package provider : INTEL Class : System devices Driver date and version : 07/18/1968 10.1.6.2 Signer name : Microsoft Windows Hardware Compatibility Publisher Published name : oem68.inf Driver package provider : INTEL Class : System devices Driver date and version : 07/18/1968 10.1.6.2 Signer name : Microsoft Windows Hardware Compatibility Publisher Published name : oem69.inf Driver package provider : INTEL Class : SD host adapters Driver date and version : 07/18/1968 10.1.5.2 Signer name : Microsoft Windows Hardware Compatibility Publisher Published name : oem70.inf Driver package provider : INTEL Class : System devices Driver date and version : 07/18/1968 10.1.5.2 Signer name : Microsoft Windows Hardware Compatibility Publisher Published name : oem71.inf Driver package provider : INTEL Class : System devices Driver date and version : 07/18/1968 10.1.5.2 Signer name : Microsoft Windows Hardware Compatibility Publisher Published name : oem72.inf Driver package provider : INTEL Class : System devices Driver date and version : 07/18/1968 10.1.5.2 Signer name : Microsoft Windows Hardware Compatibility Publisher Published name : oem73.inf Driver package provider : INTEL Class : System devices Driver date and version : 07/18/1968 10.1.5.2 Signer name : Microsoft Windows Hardware Compatibility Publisher Published name : oem74.inf Driver package provider : INTEL Class : System devices Driver date and version : 07/18/1968 10.1.3.1 Signer name : Microsoft Windows Hardware Compatibility Publisher Published name : oem75.inf Driver package provider : INTEL Class : Universal Serial Bus controllers Driver date and version : 07/18/1968 10.1.3.1 Signer name : Microsoft Windows Hardware Compatibility Publisher Published name : oem76.inf Driver package provider : INTEL Class : System devices Driver date and version : 07/18/1968 10.1.3.1 Signer name : Microsoft Windows Hardware Compatibility Publisher Published name : oem77.inf Driver package provider : INTEL Class : Universal Serial Bus controllers Driver date and version : 07/18/1968 10.1.3.1 Signer name : Microsoft Windows Hardware Compatibility Publisher Published name : oem78.inf Driver package provider : INTEL Class : System devices Driver date and version : 07/18/1968 10.1.3.1 Signer name : Microsoft Windows Hardware Compatibility Publisher Published name : oem79.inf Driver package provider : INTEL Class : Universal Serial Bus controllers Driver date and version : 07/18/1968 10.1.3.1 Signer name : Microsoft Windows Hardware Compatibility Publisher Published name : oem0.inf Driver package provider : Amazon Inc. Class : System devices Driver date and version : 02/12/2021 8.3.0.7 Signer name : Microsoft Windows Hardware Compatibility Publisher Published name : oem1.inf Driver package provider : Amazon Inc. Class : System devices Driver date and version : 12/16/2019 8.2.7.5 Signer name : Microsoft Windows Hardware Compatibility Publisher Published name : oem81.inf Driver package provider : Amazon Inc. Class : Storage controllers Driver date and version : 02/18/2022 8.4.1.6 Signer name : Microsoft Windows Hardware Compatibility Publisher Published name : oem4.inf Driver package provider : Amazon Inc. Class : System devices Driver date and version : 07/08/2020 8.2.9.8 Signer name : Microsoft Windows Hardware Compatibility Publisher Published name : oem10.inf Driver package provider : Amazon Web Services, Inc. Class : Multifunction adapters Driver date and version : 10/30/2017 1.0.0.0 Signer name : Microsoft Windows Hardware Compatibility Publisher Published name : oem88.inf Driver package provider : Amazon Web Services, Inc. Class : Network adapters Driver date and version : 02/27/2023 2.6.0.0 Signer name : Microsoft Windows Hardware Compatibility Publisher Published name : oem54.inf Driver package provider : INTEL Class : Sensors Driver date and version : 07/18/1968 10.1.3.1 Signer name : Microsoft Windows Hardware Compatibility Publisher Published name : oem13.inf Driver package provider : Microsoft Class : Printers Driver date and version : 06/21/2006 10.0.20348.1 Signer name : Microsoft Windows Published name : oem12.inf Driver package provider : Microsoft Class : Printers Driver date and version : 06/21/2006 10.0.20348.1 Signer name : Microsoft Windows Published name : oem82.inf Driver package provider : Intel Class : Network adapters Driver date and version : 12/05/2022 2.1.249.0 Signer name : Microsoft Windows Hardware Compatibility Publisher Published name : oem80.inf Driver package provider : Intel Class : Network adapters Driver date and version : 10/23/2019 2.1.185.0 Signer name : Microsoft Windows Hardware Compatibility Publisher Published name : oem11.inf Driver package provider : Intel Class : Network adapters Driver date and version : 10/03/2018 2.1.138.0 Signer name : Microsoft Windows Hardware Compatibility Publisher Published name : oem2.inf Driver package provider : Amazon Inc. Class : Network adapters Driver date and version : 11/19/2018 8.2.5.32 Signer name : Microsoft Windows Hardware Compatibility Publisher
この中から、Driver package provider
がAmazon Web Services, Inc.
、Class
がNetwork adapters
となっているものを抜き出します。
Published name : oem88.inf Driver package provider : Amazon Web Services, Inc. Class : Network adapters Driver date and version : 02/27/2023 2.6.0.0 Signer name : Microsoft Windows Hardware Compatibility Publisher Published name : oem2.inf Driver package provider : Amazon Inc. Class : Network adapters Driver date and version : 11/19/2018 8.2.5.32 Signer name : Microsoft Windows Hardware Compatibility Publisher
%windir%\INF
(通常の場合は C:\Windows\INF)内のoem*.inf
というファイルを開くことで、各ドライバーの詳細が確認できます。
oem88.inf と oem2.inf 開いてみましょう。
;------------------------------------------------------------------------- ; ena.INF -- Amazon Elastic Network Adapter Driver ; ; Copyright (c) 2023 Amazon Web Services, Inc. All rights reserved. ;------------------------------------------------------------------------- [version] Signature = "$Windows NT$" Class = Net ClassGUID = {4D36E972-E325-11CE-BFC1-08002BE10318} Provider = %Amazon% CatalogFile = ena.cat PnpLockDown = 1 DriverVer = 02/27/2023,2.6.0.0
こちらは ENA ドライバーのようです。バージョンも 2.6.0.0 であることが確認できます。
[Strings] Vendor= "Amazon Inc." DiskDesc = "AWS Tools for Virtual Machines" XenNetName="AWS PV Network Device"
こちらは PV ドライバーのようです。バージョンはファイルからでは確認できないため、レジストリを参照しました。バージョンは 8.4.3 でした。
PS > Get-ItemProperty HKLM:\SOFTWARE\Amazon\PVDriver | Select-Object Version Version ------- 8.4.3
補足: xen on nitro の場合
c3.large インスタンスタイプで Windows Server 2016 の AMI(ami-0adb69d2336ea1b6e)からインスタンスを作成します。
PowerShell にて、インスタンスメタデータを確認したところ、xen on nitro
でした。
PS > $token = Invoke-RestMethod 'http://169.254.169.254/latest/api/token' -Method Put -Headers @{ "X-aws-ec2-metadata-token-ttl-seconds" = 21600 } PS > Invoke-RestMethod 'http://169.254.169.254/latest/meta-data/system' -Headers @{ "X-aws-ec2-metadata-token" = $token } xen-on-nitro
xen on nitro についての詳細は参考資料をご参照ください。
Windows の設定では Intel 82599 VF インターフェイスを使用していることが確認できました。
IPv4 address: **マスクしています** Manufacturer: Intel Description: Intel(R) 82599 Virtual Function Driver version: 2.1.186.0 Physical address (MAC): **マスクしています**
pnputil -e
コマンドの結果抜粋です。
PS > pnputil -e Microsoft PnP Utility Published name : oem3.inf Driver package provider : Intel Class : Network adapters Driver date and version : 03/04/2014 1.0.16.1 Signer name : Microsoft Windows Hardware Compatibility Publisher Published name : oem7.inf Driver package provider : Intel Class : Network adapters Driver date and version : 11/21/2022 2.1.249.0 Signer name : Microsoft Windows Hardware Compatibility Publisher Published name : oem14.inf Driver package provider : Intel Class : Network adapters Driver date and version : 08/30/2016 2.0.210.0 Signer name : Microsoft Windows Hardware Compatibility Publisher Published name : oem2.inf Driver package provider : Intel Class : Network adapters Driver date and version : 10/23/2019 2.1.186.0 Signer name : Microsoft Windows Hardware Compatibility Publisher
oem2.inf ファイルが該当すると見えるため、内容を確認しました。
しかしながら、INTEL CONFIDENTIAL
の文字があったため、ブログ記事内での公開は控えます。
ですが、バージョン番号とドライバー名の記載はあったため、この方法で確認することはできると考えられます。
参考資料
Amazon ENA ドライバーのバージョン - Amazon Elastic Compute Cloud
Windows インスタンスで Intel 82599 VF インターフェイスを使用した拡張ネットワーキングの有効化 - Amazon Elastic Compute Cloud
Windows インスタンスでの PV ドライバーのアップグレード - Amazon Elastic Compute Cloud
Windows EC2 にインストールされているドライバーについて | DevelopersIO
AWS Nitro System による旧世代のインスタンスのサポートが本格的に始まりそうです | DevelopersIO